function checkDate(){
        var f = document.add_EV;
        var startDate = f.txtDateStart.value;
        var endDate =f.txtDateEnd.value;
        if(Date.parse(startDate) >= Date.parse(endDate))
         {
             document.getElementById("msg-error").style.display = 'block';
             document.getElementById("msg-error").innerHTML = 'End date not less than Start date';
             return false;
         }
        return true;
    }